package org.jeecg.modules.demo.traderquota.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.demo.traderquota.entity.TraderQuota;

import java.util.List;

public interface ITraderQuotaService extends IService<TraderQuota> {

    /**
     * 通过主表id查询子表数据
     *
     * @param mainId 主表id
     * @return List<Test2>
     */
    public List<TraderQuota> selectByMainId(String mainId);

    Double saveQuota(TraderQuota traderQuota);

}
